package com.mzy.datepackage.M2022.Aug.thirty_first.service.tasks.file_sync.filter;

import com.mzy.datepackage.M2022.Aug.thirty_first.service.tasks.file_sync.filter.size.SizeRange;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * 大小过滤
 * */
@Data
@ApiModel(value = "大小过滤")
public class Size {

	/**
	 * 是否开启
	 * */
	@ApiModelProperty(value = "是否开启")
	private boolean enabled;

	/**
	 * 类型：whitelist/blacklist
	 * 白名单/黑名单
	 * */
	@ApiModelProperty(value = "类型：whitelist(白名单)/blacklist(黑名单)")
	private String type;


	@ApiModelProperty(value = "范围列表")
	private List<SizeRange> sizeRanges;
	

}
